package com.huluobo.jetpackdemo.hilt

import javax.inject.Inject

/**
 *  Created by LC on 2024/10/16.
 */
interface ApiService {
    fun login(username: String, password: String): UserBean
}

class RetrofitManager @Inject constructor() : ApiService {
    override fun login(username: String, password: String): UserBean {
        return UserBean(username, password,1)
    }
}